package org.itboys.coo.dto.comment;

import org.itboys.admin.dto.lasted.BaseDto;
import org.itboys.admin.dto.lasted.SundayUploadDto;

import java.util.List;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：圣代_评论（订单，商品，人员，或动态）_dto。
 */
public class MdlCommentDto extends BaseDto {

    private Long memberId;//用户Id
    private String memberName;//用户昵称
    private String memberImage;//用户头像
    private Integer score;//评分。1-5
    private String content;//内容
    private List<SundayUploadDto> images;//评论图片。单条评论图片数量限制，是项目情况而定


    public MdlCommentDto() {

    }

    public MdlCommentDto(long id, String createTime, String createDate, Long memberId, String memberName, String memberImage, Integer score, String content, List<SundayUploadDto> images) {
        super(id, createTime, createDate);
        this.memberId = memberId;
        this.memberName = memberName;
        this.memberImage = memberImage;
        this.score = score;
        this.content = content;
        this.images = images;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberImage() {
        return memberImage;
    }

    public void setMemberImage(String memberImage) {
        this.memberImage = memberImage;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<SundayUploadDto> getImages() {
        return images;
    }

    public void setImages(List<SundayUploadDto> images) {
        this.images = images;
    }
}
